// 兑换码列表
import request from '@/utils/request2.js';
export const dataList = () => {
  return request({
    url: '/pcapi/Redeem/index',
    method: 'post',
  });
};
// 景区列表
export const senList = () => {
  return request({
    url: '/pcapi/Scenic/index',
    method: 'post',
  });
};

// 兑换码添加
export const listAdd = (data) => {
  return request({
    url: '/pcapi/Redeem/add',
    method: 'post',
    data,
  });
};
// 兑换码搜索功能
export const listsearch = (data) => {
  return request({
    url: '/pcapi/Redeem/search',
    method: 'post',
    data,
  });
};